public class Loot extends GameObject
{   
    boolean isOneTimeUse;
    boolean isEquipped = false;
    String name;
    String description;
    int gainHP = 0;
    int gainMP = 0;
    int maxHPbonus = 0;
    int maxMPbonus = 0;
    double damageModifier = 0; // added to damage modifer, e.g. if
    // this is 0.2, and your damage modifier is 0.7, it now becomes 0.9 
    double defenseModifer = 0; //same
    Element element;
    LootEnum type;
        
    public Loot(
        int x,
        int y,
        boolean isOneTimeUse, 
        String name, 
        String filepath, 
        int gainHP,
        int gainMP,
        int maxHPbonus,
        int maxMPbonus,
        double damageModifier, 
        double defenseModifer,
        LootEnum type) //used for general loot making
    {
        this.x = x;
        this.y = y;
        this.isOneTimeUse = isOneTimeUse;
        this.name = name;
        this.filePath = filepath;
        this.gainHP = gainHP;
        this.gainMP = gainMP;
        this.maxHPbonus = maxHPbonus;
        this.maxMPbonus = maxMPbonus;
        this.damageModifier = damageModifier; 
        this.defenseModifer = defenseModifer;    
        this.type = type;
    }    
    
    Loot(
        int x,
        int y,
        boolean isOneTimeUse, 
        String name, 
        String filepath,
        Element element,
        LootEnum type) // used for creating orbs
    {
        this.x = x;
        this.y = y;
        this.isOneTimeUse = isOneTimeUse;
        this.name = name;
        this.filePath = filepath;
        this.element = element;
        this.type = type;
    }    
}
